The playback failed to find the control with the given search properties. Additional Details:
TechnologyName: 'Web'
ControlType: 'Pane'
TagName: 'SPAN'
InnerText: '2010'
at Microsoft.VisualStudio.TestTools.UITesting.UITestLogGenerator.GenerateSnapshotInfo(UITestControl control, SnapshotTime time)
at Microsoft.VisualStudio.TestTools.UITesting.UITestLogGenerator.MouseClick(UITestControl control, MouseButtons button, ModifierKeys modifierKeys, MouseActionType mouseActionType, String message)
at Microsoft.VisualStudio.TestTools.UITesting.Mouse+<>c__DisplayClass6.<Click>b__5()
at Microsoft.VisualStudio.TestTools.UITesting.CodedUITestMethodInvoker.InvokeMethod(Func`1 function, UITestControl control, Boolean firePlaybackErrorEvent, Boolean logAsAction)
at Microsoft.VisualStudio.TestTools.UITesting.Mouse.Click(UITestControl control, MouseButtons button, ModifierKeys modifierKeys, Point relativeCoordinate)
at Microsoft.VisualStudio.TestTools.UITesting.Mouse.Click(UITestControl control)
at
NepalTourist_Web.CodedUITest1.
ClickSpan(UITestControl parent, String innerText)in e:\F# programs\Gmail\CodedUITestProject1\NepalTourist-Web\NepalTourist-Web.cs:line 146
at
NepalTourist_Web.CodedUITest1.
NepalTourist()in e:\F# programs\Gmail\CodedUITestProject1\NepalTourist-Web\NepalTourist-Web.cs:line 43
Error HRESULT E_FAIL has been returned from a call to a COM component.
System.Runtime.InteropServices.COMException
at Microsoft.VisualStudio.TestTools.UITest.Playback.Engine.IScreenElement.FindAllDescendants(String bstrQueryId, Object& pvarResKeys, Int32 cResKeys, Int32 nMaxDepth)
at Microsoft.VisualStudio.TestTools.UITest.Playback.ScreenElement.FindAllScreenElement(String queryId, Int32 depth, Boolean singleQueryId, Boolean throwException, Boolean resetSkipStep)
at Microsoft.VisualStudio.TestTools.UITest.Playback.ScreenElement.FindScreenElement(String queryId, Int32 depth, Boolean resetSkipStep)
at Microsoft.VisualStudio.TestTools.UITest.Playback.ScreenElement.FindScreenElement(String queryId, Int32 depth)
at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindFirstDescendant(String queryId, Int32 maxDepth, Int32& timeLeft)